package org.annotation.t.autowire.controller;

import org.annotation.t.autowire.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class User2Controller {
    public void user2Controller(@Autowired UserService userService){
        System.out.println("user2controller执行了！");
        userService.addUserService();
    }
}
